package org.springframework.beans.support;

import org.springframework.beans.factory.config.BeanDefinition;

import java.lang.reflect.Constructor;

/**
 * @author xiaohei
 */
public interface InstantiationStrategy {

    /**
     * 实例化
     *
     * @return
     */
    Object instantiate(String beanName, BeanDefinition bd, Constructor ctor, Object[] args);
}
